package com.yifeng.repo.controller.statemachine.configure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by daibing on 2024/9/21.
 */
@Data
@ConfigurationProperties(prefix = StatemachineProperties.PREFIX)
public class StatemachineProperties {

    public static final String PREFIX = "yfcloud.controller.statemachine";

    /**
     * 是否启用审核状态机
     */
    private boolean enableAuditStatemachine = false;

    /**
     * 是否启用API接口
     */
    private boolean enableApi = false;

    /**
     * api地址前缀
     */
    private String apiPrefix = "/statemachine";


}
